<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
<!--superFish-->
<link rel="stylesheet" type="text/css" href="{JS_PATH}superfish/css/superfish.css" media="screen">
<link rel="stylesheet" type="text/css" href="{CSS_PATH}reset.css" />
<link rel="stylesheet" type="text/css" href="{CSS_PATH}default/reset.css" />
<link rel="stylesheet" type="text/css" href="{CSS_PATH}default/text.css" />
<link rel="stylesheet" type="text/css" href="{CSS_PATH}default_blue.css" />
<link rel="stylesheet" type="text/css" href="{CSS_PATH}default/style.css" />

<!--slider-->
<link rel="stylesheet" type="text/css" href="{CSS_PATH}default/galleryview.css" />
<script type="text/javascript" src="{JS_PATH}default/jquery-1.7.2.min.js"></script>
<!--superFish-->
<script type="text/javascript" src="{JS_PATH}superfish/js/hoverIntent.js"></script>
<script type="text/javascript" src="{JS_PATH}superfish/js/superfish.js"></script>
<!--slider-->
<script type="text/javascript" src="{JS_PATH}default/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="{JS_PATH}default/jquery.galleryview-1.1.js"></script>
<script type="text/javascript" src="{JS_PATH}default/jquery.timers-1.1.2.js"></script>
<!--tab-->
<script type="text/javascript" src="{JS_PATH}default/jquery.tools.min.js"></script>
<!--[if IE 6]>
<script type="text/javascript" src="{JS_PATH}default/DD_belatedPNG.js" ></script>
<script type="text/javascript">
DD_belatedPNG.fix('img, .headerBox1, .headerBox2, .searchBox, .text, .button, .zyTongzhi, .mainBox, ul.list02 li a, .footer_top_shadow, .footer, .mainBox3, .zyTongzhi .title, .sliderLink li, .crumbs, .box h5.title-2, ul.PageNav, ul.PageNav li a:hover,  ');
</script>
<![endif]-->
<script language="javascript">

$(document).ready(function() {
				// superFish
			$('ul.sf-menu').superfish();
			/* slider */
			{if !$catid}
			$('#photos').galleryView({
			panel_width: 330,
			panel_height: 210,
			frame_width: 72,
			frame_height: 60
			  });
			
			/* tab */
			$(function() {
			$("ul.tabs").tabs("> .pane");
			});
						$(function() {
			$("ul.tabs2").tabs("> .pane");
			});
			{/if}

});
		

</script>
{if !$catid}
<script type="text/javascript">
function H$(i) {return document.getElementById(i)}
function H$$(c, p) {return p.getElementsByTagName(c)}
var slider = function () {
 function init (o) {
  this.id = o.id;
  this.at = o.auto ? o.auto : 3;
  this.o = 0;
  this.pos();
 }
 init.prototype = {
  pos : function () {
   clearInterval(this.__b);
   this.o = 0;
   var el = H$(this.id), li = H$$('li', el), l = li.length;
   var _t = li[l-1].offsetHeight;
   var cl = li[l-1].cloneNode(true);
   cl.style.opacity = 0; cl.style.filter = 'alpha(opacity=0)';
   el.insertBefore(cl, el.firstChild);
   el.style.top = -_t + 'px';
   this.anim();
  },
  anim : function () {
   var _this = this;
   this.__a = setInterval(function(){_this.animH()}, 20);
  },
  animH : function () {
   var _t = parseInt(H$(this.id).style.top), _this = this;
   if (_t >= -1) {
    clearInterval(this.__a);
    H$(this.id).style.top = 0;
    var list = H$$('li',H$(this.id));
    H$(this.id).removeChild(list[list.length-1]);
    this.__c = setInterval(function(){_this.animO()}, 20);
    //this.auto();
   }else {
    var __t = Math.abs(_t) - Math.ceil(Math.abs(_t)*.07);
    H$(this.id).style.top = -__t + 'px';
   }
  },
  animO : function () {
   this.o += 2;
   if (this.o == 100) {
    clearInterval(this.__c);
    H$$('li',H$(this.id))[0].style.opacity = 1;
    H$$('li',H$(this.id))[0].style.filter = 'alpha(opacity=100)';
    this.auto();
   }else {
    H$$('li',H$(this.id))[0].style.opacity = this.o/100;
    H$$('li',H$(this.id))[0].style.filter = 'alpha(opacity='+this.o+')';
   }
  },
  auto : function () {
   var _this = this;
   this.__b = setInterval(function(){_this.pos()}, this.at*1000);
  }
 }
 return init;
}();
</script>
{/if}
</head>
<body>

  <!--header start-->
  <div class="header">
    <div class="logo"><a href="{siteurl($siteid)}/"><img src="{IMG_PATH}default/logo.png" /></a></div>
    <img src="{IMG_PATH}default/topImg.png" style="float:right; margin-top:30px;" />
    <!--
    <div class="headerRight">
      <div class="searchBox">
        <form action="{APP_PATH}index.php" method="get" target="_blank">
          <input type="hidden" name="m" value="search"/>
          <input type="hidden" name="c" value="index"/>
          <input type="hidden" name="a" value="init"/>
          <input type="hidden" name="typeid" value="1" id="typeid"/>
          <input type="hidden" name="siteid" value="1" id="siteid"/>
          <input type="text" class="text" name="q" id="q" value="搜索..." onfocus="if (this.value == '搜索...') {this.value = '';}" onblur="if (this.value == '') {this.value = '搜索...';}"/>
          <input type="submit" value="" class="button" />
        </form>
      </div>
    </div>
    -->
  </div>
  <!--header over--> 

<!--menu start-->
<div class="menu">
  <div class="menuBox"> {pc:content action="category" catid="0" num="25" siteid="$siteid" order="listorder ASC"}
    <ul class="sf-menu">
      <li><a href="{siteurl($siteid)}">首页</a></li>
      {loop $data $r}
      <li> {pc:content action="category" catid="$r[catid]" num="1" siteid="$siteid" order="listorder ASC"}
        
        {loop $data $v}
        {php $url=$v[url]}
        {/loop}
        {if $url==""} <a href="{$r[url]}">{$r[catname]}</a> {else} <a href="{$url}">{$r[catname]}</a> {/if}
        
        {php $url=""}
        {/pc}
        
        {pc:content action="category" catid="$r[catid]" num="0" siteid="$siteid" order="listorder ASC"}
        {if $data}
        <ul>
          {loop $data $r}
          <li><a href="{$r['url']}">{$r['catname']}</a></li>
          {/loop}
        </ul>
        {/if}
        {/pc} </li>
      {/loop}
    </ul>
    {/pc} </div>
</div>
<div class="clear"></div>
<!--menu over--> 

